package com.ruoyi.trackapply.domain;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.taskasses.domain.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel
@Builder
public class EstimateResVO {

    @ApiModelProperty("模型名称")
    private String model;

    @ApiModelProperty("评估参数")
    private String param;

    @ApiModelProperty("平均绝对误差（Kg/m3）")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal mae;

    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("均方差（%）")
    private BigDecimal mse;

    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty("均方根误差")
    private BigDecimal rmse;
}
